package contabilidad;

import conexion.CConexion;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;

public class CCo030 extends CConexion {

    String compania = null;

    public CCo030() {
        super();
        compania = login.getCompaniaActual();
    }

    public ResultSet documentos() throws SQLException {
        String sqlDocumentos = "select * from co030";
        Statement stncDocumentos = this.getConexion().createStatement();
        ResultSet rsDocumentos = stncDocumentos.executeQuery(sqlDocumentos);
        return rsDocumentos;
    }
}
